package com.cheer.dto;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

/**
 * @author lx
 */
@Data
public class UserQueryDTO {

    private Integer pageNum = 1;

    private Integer pageSize = 10;

    @Length(max = 30, message = "搜索用户信息不能超过30个字符")
    private String keyWord;

}
